/**
 * 
 */
package cn.com.innodev.withyou.business.api.crm;

import com.vanstone.common.lang.BaseEnum;

/**
 * @author shipeng <br />
 */
public enum UserType implements BaseEnum<Integer> {

  Owner("业主", 1), Property("物业人员", 10), Admin("管理员", 20);

  private String desc;
  private Integer code;

  private UserType(String desc, Integer code) {
    this.desc = desc;
    this.code = code;
  }

  @Override
  public Integer getCode() {
    return this.code;
  }

  @Override
  public String getDesc() {
    return this.desc;
  }

}
